<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			window.onload = function(){
				var oDiv = document.getElementById("div1");
				oDiv.style.background = 'red';
				oDiv.style.height = '400px';
				
			}
		</script>
	</head>
	<body>
		<div id="div1">1111</div>
	</body>
</html>
